from django.conf import settings
from django.conf.urls import url
from django.contrib import admin
from django.urls import path, include
from django.views.static import serve


urlpatterns = [
    path('admin/', admin.site.urls),
    path('api-auth/', include('rest_framework.urls')),
    url(r'media/(?P<path>.*)$', serve, {"document_root": settings.MEDIA_ROOT}),
    path('mini_program/', include('config.urls.mini_program_urls')),
    path('humen_pollution/', include('config.urls.humen_pollution')),
]

